package com.yc.cloud.cloudindex.rpc;

import org.apache.hadoop.ipc.VersionedProtocol;

import java.io.IOException;

public interface ClientProtocol extends VersionedProtocol {

    //定义接口版本编号
    public static final long versionID=1L;

    public String echo(String msg) throws IOException;

    int add(int v1,int v2) throws IOException;

//    public String
}
